<h1><%= t(:new_department) %></h1>

<%= error_messages_for :department %>
<% form_for :department, :url => admin_departments_path do |f| -%>
  
<p><%= label_tag t(:name) %><br/>
<%= f.text_field :name %></p> 
  
<p><%= submit_tag t(:create) %></p>
<% end -%>

<p class="back"><%= link_to t(:back), admin_departments_path %></p>
